﻿using RSALicUI.Properties;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RSALicUI
{
    /// <summary>
    /// 部分公共资源
    /// </summary>
    public class CommResources
    {
        static CommResources()
        {
            FormIcon = Resources.key;
            PubKey = "<RSAKeyValue><Modulus>s07fVBQGgHwtcnlcEdRyVE0BBiNPeQULo9+N3UXXRzIU0yJNZoiajRI5hzSaTcbtAD6cJVDqDbJQDZif4zfpP0WrYoIJPkVHg1W7s+q1Ji7vGZ4EN3391pjF9ZapUbMY4xemRgCakZveemacNY0nQpN4zuEVamZF47+CWylK9vU=</Modulus><Exponent>AQAB</Exponent></RSAKeyValue>";
        }

        /// <summary>
        /// 窗体图标
        /// </summary>
        public static Icon FormIcon { get; set; }

        /// <summary>
        /// 内置的默认公钥
        /// </summary>
        public static string PubKey { get; set; }

        /// <summary>
        /// 公司名称
        /// </summary>
        public static string Company { get; set; } = "XXX公司";

        /// <summary>
        /// 公司网站
        /// </summary>
        public static string Website { get; set; } = "https://www.baidu.com";

        /// <summary>
        /// 识别二维码的提示消息
        /// </summary>
        public static string QrTips { get; set; } =
                    "\r\n 可尝试以下操作：\r\n " +
                    "    1.更换授权二维码图片\r\n " +
                    "    2.在上方准确框选出二维码\r\n " +
                    "    3.放大当前窗口，并重新框选二维码\r\n ";

        /// <summary>
        /// 测试二维码数据
        /// </summary>
        public static string TestQrData { get; set; } = "This is a QrCode Test Data!";
    }
}
